package cn.mldn.microboot.actuator;

import org.springframework.boot.actuate.health.Health;
import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.stereotype.Component;

/**
 * description:
 * Created by gy on 2017/8/23.
 */
@Component
public class MyHealthIndicator  implements HealthIndicator{

    @Override
    public Health health() {
        return Health.up().withDetail("info","还没挂").build();
    }
}
